package com.fulihui.usercore.dto;

import org.near.toolkit.model.ToString;

import java.util.Date;

/**
 * 用户微信信息
 * Created by Willard.Hu on 2016/5/16.
 */
public class WechatUserDTO extends ToString {
    private static final long serialVersionUID = 6840824992045651618L;
    /**
     * 主键
     */
    private long   id;
    /**
     * 微信用户唯一标识
     */
    private String openId;
    /**
     * 微信唯一标识类型
     */
    private String openidType;
    /**
     * 微信平台标识
     */
    private String appid;
    /**
     * 用户唯一标识
     */
    private String userId;
    /**
     * 移动appId关联的openid，目前手机端低版本号会使用;
     */
    @Deprecated
    private String appOpenId;
    /**
     * 多公众号用户唯一标识
     */
    private String unionid;
    /**
     * 是否关注
     */
    private String subscribe;
    /**
     * 关注时间
     */
    private Date   subscribeTime;
    /**
     * 数据创建时间
     */
    private Date   gmtCreate;
    /**
     * 数据修改时间
     */
    private Date   gmtModified;
    /**
     * 禁用标识
     */
    private int    disable;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenidType() {
        return openidType;
    }

    public void setOpenidType(String openidType) {
        this.openidType = openidType;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getAppOpenId() {
        return appOpenId;
    }

    public void setAppOpenId(String appOpenId) {
        this.appOpenId = appOpenId;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(String subscribe) {
        this.subscribe = subscribe;
    }

    public Date getSubscribeTime() {
        return subscribeTime;
    }

    public void setSubscribeTime(Date subscribeTime) {
        this.subscribeTime = subscribeTime;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public int getDisable() {
        return disable;
    }

    public void setDisable(int disable) {
        this.disable = disable;
    }
}
